Optimal. Leaf size=60 \[ \frac{1}{3} x^3 \left (a+b \sin ^{-1}(c x)\right )-\frac{b \left (1-c^2 x^2\right )^{3/2}}{9 c^3}+\frac{b \sqrt{1-c^2 x^2}}{3 c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0391678, antiderivative size = 60, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {4627, 266, 43} \[ \frac{1}{3} x^3 \left (a+b \sin ^{-1}(c x)\right )-\frac{b \left (1-c^2 x^2\right )^{3/2}}{9 c^3}+\frac{b \sqrt{1-c^2 x^2}}{3 c^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4627
Rule 266
Rule 43
Rubi steps
\begin{align*} \int x^2 \left (a+b \sin ^{-1}(c x)\right ) \, dx &=\frac{1}{3} x^3 \left (a+b \sin ^{-1}(c x)\right )-\frac{1}{3} (b c) \int \frac{x^3}{\sqrt{1-c^2 x^2}} \, dx\\ &=\frac{1}{3} x^3 \left (a+b \sin ^{-1}(c x)\right )-\frac{1}{6} (b c) \operatorname{Subst}\left (\int \frac{x}{\sqrt{1-c^2 x}} \, dx,x,x^2\right )\\ &=\frac{1}{3} x^3 \left (a+b \sin ^{-1}(c x)\right )-\frac{1}{6} (b c) \operatorname{Subst}\left (\int \left (\frac{1}{c^2 \sqrt{1-c^2 x}}-\frac{\sqrt{1-c^2 x}}{c^2}\right ) \, dx,x,x^2\right )\\ &=\frac{b \sqrt{1-c^2 x^2}}{3 c^3}-\frac{b \left (1-c^2 x^2\right )^{3/2}}{9 c^3}+\frac{1}{3} x^3 \left (a+b \sin ^{-1}(c x)\right )\\ \end{align*}
Mathematica [A] time = 0.0391751, size = 49, normalized size = 0.82 \[ \frac{1}{9} \left (3 a x^3+\frac{b \sqrt{1-c^2 x^2} \left (c^2 x^2+2\right )}{c^3}+3 b x^3 \sin ^{-1}(c x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 64, normalized size = 1.1 \begin{align*}{\frac{1}{{c}^{3}} \left ({\frac{{c}^{3}{x}^{3}a}{3}}+b \left ({\frac{{c}^{3}{x}^{3}\arcsin \left ( cx \right ) }{3}}+{\frac{{c}^{2}{x}^{2}}{9}\sqrt{-{c}^{2}{x}^{2}+1}}+{\frac{2}{9}\sqrt{-{c}^{2}{x}^{2}+1}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.6864, size = 80, normalized size = 1.33 \begin{align*} \frac{1}{3} \, a x^{3} + \frac{1}{9} \,{\left (3 \, x^{3} \arcsin \left (c x\right ) + c{\left (\frac{\sqrt{-c^{2} x^{2} + 1} x^{2}}{c^{2}} + \frac{2 \, \sqrt{-c^{2} x^{2} + 1}}{c^{4}}\right )}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.52999, size = 119, normalized size = 1.98 \begin{align*} \frac{3 \, b c^{3} x^{3} \arcsin \left (c x\right ) + 3 \, a c^{3} x^{3} +{\left (b c^{2} x^{2} + 2 \, b\right )} \sqrt{-c^{2} x^{2} + 1}}{9 \, c^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.921519, size = 65, normalized size = 1.08 \begin{align*} \begin{cases} \frac{a x^{3}}{3} + \frac{b x^{3} \operatorname{asin}{\left (c x \right )}}{3} + \frac{b x^{2} \sqrt{- c^{2} x^{2} + 1}}{9 c} + \frac{2 b \sqrt{- c^{2} x^{2} + 1}}{9 c^{3}} & \text{for}\: c \neq 0 \\\frac{a x^{3}}{3} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.34687, size = 100, normalized size = 1.67 \begin{align*} \frac{1}{3} \, a x^{3} + \frac{{\left (c^{2} x^{2} - 1\right )} b x \arcsin \left (c x\right )}{3 \, c^{2}} + \frac{b x \arcsin \left (c x\right )}{3 \, c^{2}} - \frac{{\left (-c^{2} x^{2} + 1\right )}^{\frac{3}{2}} b}{9 \, c^{3}} + \frac{\sqrt{-c^{2} x^{2} + 1} b}{3 \, c^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]